package rladidxo.basic;

import java.util.Scanner;

public class J08_62 {
public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	System.out.print("세개의 숫자를 입력하세요:");
	int num[];
	num = new int[3];
	for(int i =0;i<3;i++){ 
	num[i] =sc.nextInt(); }
	for(int i=0; i<3; i++){System.out.print(num[i]+"\t");}System.out.println();
	for(int i=2; i>=0; i--){System.out.print(num[i]+"\t");}System.out.println();
	
	
	
}
}
